//
//  CommonRouter.swift
//  LeGou
//
//  Created by lxm on 2022/7/23.
//

import Foundation
class CommonRouter {
    // 路由
      static func initialize(navigator: NavigatorProtocol) {
          // 各种web
          navigator.register("xm://main/Common/web/<int:id>") { url, values, context in
              let web = ZMWebViewVC()
              if let id = values["id"] as? Int  {
                  XMLogger.info("id is \(id)")
              }
              web.url = "http://uat.ynzxsc.com/api/front/h5/queryH5?id=203"
              return web
          }
      }
}

